package com.six666.medicaldevicetestingsystem.service;

import com.six666.medicaldevicetestingsystem.dto.Equipment_Order_DTO;
import com.six666.medicaldevicetestingsystem.dto.Sample_Order_DTO;

import java.util.List;

public interface AccountOrder_Service {
    boolean add_order(int account_id,String order_type,int goods_id,int goods_amount);
    List<Equipment_Order_DTO> get_personal_equip_order(int account_id,String state);
    boolean delete_order(int order_id);
    List<Equipment_Order_DTO> get_all_equip_order();
    boolean change_state(int order_id);
    boolean change_preformed_state(int order_id);
    List<Sample_Order_DTO>get_all_sample_order();
    List<Sample_Order_DTO> get_my_order(Integer account_id,String type);
}
